package com.barneyx.mshinfoplatform.entity.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum EInfoState implements IEnum<String> {

    /**
     * 审核中
     */
    AUDIT(1,"AUDIT"),
    /**
     * 通过审核
     */
    PASS(2,"PASS"),
    /**
     * 未通过
     */
    NOTPASS(3,"NOTPASS"),

    /**
     * 违规
     */
    VIOLATIONS(4,"VIOLATIONS"),
    ;

    EInfoState(int code,String value){
        this.value = value;
        this.code = code;
    }
    @EnumValue
    private final  int code;
    @JsonValue
    private final  String value;

}
